{"version":3,"file":"l10n.min.js","sources":["l10n.js"],"names":["document","webL10n","window","undefined","gL10nData","gTextData","gTextProp","gLanguage","gMacros","gReadyState","gAsyncResourceLoading","getL10nResourceLinks","querySelectorAll","getL10nDictionary","script","querySelector","JSON","parse","innerHTML","getTranslatableChildren","element","getL10nAttributes","l10nId","getAttribute","l10nArgs","args","e","console","warn","id","fireL10nReadyEvent","lang","evtObject","createEvent","initEvent","language","dispatchEvent","xhrLoadText","url","onSuccess","onFailure","_onSuccess","data","_onFailure","xhr","XMLHttpRequest","open","charset","pdfJsLangCharset","overrideMimeType","onreadystatechange","readyState","status","responseText","onerror","ontimeout","send","parseResource","href","successCallback","failureCallback","baseURL","replace","evalString","text","lastIndexOf","parseProperties","parsedPropertiesCallback","dictionary","reBlank","reComment","reSection","reImport","reSplit","parseRawLines","rawText","extendedSyntax","parsedRawLinesCallback","entries","split","currentLang","genericLang","skipLang","match","nextEntry","length","line","shift","test","exec","toLowerCase","loadImport","tmp","callback","content","response","key","prop","index","substring","substr","loadLocale","_callback","clear","langLinks","langCount","dict","locales","default_locale","log","defaultLocale","anyCaseLang","onResourceLoaded","gResourceCount","L10nResourceLink","link","this","load","i","resource","getPluralRules","locales2rules","af","ak","am","ar","asa","az","be","bem","bez","bg","bh","bm","bn","bo","br","brx","bs","ca","cgg","chr","cs","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fil","fo","fr","fur","fy","ga","gd","gl","gsw","gu","guw","gv","ha","haw","he","hi","hr","hu","ig","ii","is","it","iu","ja","jmc","jv","ka","kab","kaj","kcg","kde","kea","kk","kl","km","kn","ko","ksb","ksh","ku","kw","lag","lb","lg","ln","lo","lt","lv","mas","mg","mk","ml","mn","mo","mr","ms","mt","my","nah","naq","nb","nd","ne","nl","nn","no","nr","nso","ny","nyn","om","or","pa","pap","pl","ps","pt","rm","ro","rof","ru","rwk","sah","saq","se","seh","ses","sg","sh","shi","sk","sl","sma","smi","smj","smn","sms","sn","so","sq","sr","ss","ssy","st","sv","sw","syr","ta","te","teo","th","ti","tig","tk","tl","tn","to","tr","ts","tzm","uk","ur","ve","vi","vun","wa","wae","wo","xh","xog","yo","zh","zu","isIn","n","list","indexOf","isBetween","start","end","pluralRules","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","plural","str","param","parseFloat","isNaN","_pluralRules","getL10nData","fallback","rv","substIndexes","substArguments","reIndex","reMatch","macroName","paramName","macro","reArgs","matched_text","arg","translateElement","l10n","getChildElementCount","children","childNodes","found","l","nodeType","nodeValue","textNode","createTextNode","insertBefore","firstChild","k","childElementCount","count","translateFragment","documentElement","elementCount","get","fallbackString","getData","getText","getLanguage","setLanguage","getDirection","rtlList","shortCode","translate","getReadyState","ready","setTimeout","addEventListener","once","removeEventListener"],"mappings":"AA8BA,YAEAA,UAASC,QAAU,SAAUC,EAAQF,EAAUG,GAC7C,GAAIC,KACJ,IAAIC,GAAY,EAChB,IAAIC,GAAY,aAChB,IAAIC,GAAY,EAChB,IAAIC,KACJ,IAAIC,GAAc,SAelB,IAAIC,GAAwB,IAU5B,SAASC,KACP,MAAOX,GAASY,iBAAiB,iCAGnC,QAASC,KACP,GAAIC,GAASd,EAASe,cAAc,kCAEpC,OAAOD,GAASE,KAAKC,MAAMH,EAAOI,WAAa,KAGjD,QAASC,GAAwBC,GAC/B,MAAOA,GAAUA,EAAQR,iBAAiB,sBAG5C,QAASS,GAAkBD,GACzB,IAAKA,EACH,QAEF,IAAIE,GAASF,EAAQG,aAAa,eAClC,IAAIC,GAAWJ,EAAQG,aAAa,iBACpC,IAAIE,KACJ,IAAID,EAAU,CACZ,IACEC,EAAOT,KAAKC,MAAMO,GAClB,MAAOE,GACPC,QAAQC,KAAK,kCAAoCN,IAGrD,OAASO,GAAIP,EAAQG,KAAMA,GAG7B,QAASK,GAAmBC,GAC1B,GAAIC,GAAYhC,EAASiC,YAAY,QACrCD,GAAUE,UAAU,YAAa,KAAM,MACvCF,GAAUG,SA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